package com.tengju.data.infrastructure.repository.clickhouse.user;

import com.tengju.data.domain.model.clickhouse.DwdUserRelationMapAllRepository;
import com.tengju.data.domain.model.user.UserIdCode;
import com.tengju.data.infrastructure.persistence.mybatis.mapper.clickhouse.user.DwdUserRelationMapAllMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;
import java.util.List;

@Repository
public class DwdUserRelationMapAllRepositoryImpl implements DwdUserRelationMapAllRepository {

    @Resource
    DwdUserRelationMapAllMapper userRelationMapAllMapper;

    @Override
    public List<Long> getIdCodeAndStarLevel(Integer offset, Integer limit) {
        return userRelationMapAllMapper.selectIdCodeAndStarLevel(offset, limit);
    }
}
